import {
	defineStore
} from 'pinia'

export const roleInfoStore = defineStore('roleInfo', {
	state: () => {
		return {
			role: 0,
			is_normal_user: 0,
			is_jituan_user: 0,
			car_normal_type_list: [],
			car_jituan_type_list: []
		}
	},
	// 也可以这样定义
	// state: () => ({ count: 0 })
	actions: {
		increment() {
			this.count++
		},
	},
})